package com.fysports.web.model.user;

import com.jfinal.log.Log;
import com.fysports.web.model.BaseModel;

import java.util.Date;

/**
* Class title: DB实体 - user_rank - 会员等级 <br/>
* Describe:                    <br/>
* Created by [CodeGenerator]   <br/>
* Date : 2015-12-25 06:43:26       <br/>
* Project : weixin           <br/>
*/
public class UserRank extends BaseModel<UserRank>{
    /**/
    private static Log log = Log.getLog(UserRank.class);
    public final static UserRank dao = new UserRank();
    /*数据库字段静态变量*/
    /** rankname  等级名称 */
    public final static String COL_RANKNAME="rankname";
    /** isdefault  是否默认1是0否 */
    public final static String COL_ISDEFAULT="isdefault";
    /** rankvalue  等级标志(等级名称可自由定义,等级标志1,2,3级) */
    public final static String COL_RANKVALUE="rankvalue";
    /** rankstart  等级值 */
    public final static String COL_RANKSTART="rankstart";
    /** rankend   */
    public final static String COL_RANKEND="rankend";
    /** remark   */
    public final static String COL_REMARK="remark";
    public UserRank() {
        if (this.getStr(COL_UUID) == null || this.getStr(COL_UUID).length() == 0) {
        this.set(COL_UUID, generateUUID());
        }
    }
    public String getRankname(){
            return this.getStr(COL_RANKNAME);
    }
    public void setRankname(String rankname){
        this.set(COL_RANKNAME,rankname);
    }
    public Boolean getIsdefault(){
            return this.getBoolean(COL_ISDEFAULT);
    }
    public void setIsdefault(Boolean isdefault){
        this.set(COL_ISDEFAULT,isdefault);
    }
    public Integer getRankvalue(){
            return this.getInt(COL_RANKVALUE);
    }
    public void setRankvalue(Integer rankvalue){
        this.set(COL_RANKVALUE,rankvalue);
    }
    public Integer getRankstart(){
            return this.getInt(COL_RANKSTART);
    }
    public void setRankstart(Integer rankstart){
        this.set(COL_RANKSTART,rankstart);
    }
    public Integer getRankend(){
            return this.getInt(COL_RANKEND);
    }
    public void setRankend(Integer rankend){
        this.set(COL_RANKEND,rankend);
    }
    public String getLiveflag(){
            return this.getStr(COL_LIVEFLAG);
    }
    public void setLiveflag(String liveflag){
        this.set(COL_LIVEFLAG,liveflag);
    }
    public Date getCreatetime(){
            return this.getDate(COL_CREATETIME);
    }
    public void setCreatetime(Date createtime){
        this.set(COL_CREATETIME,createtime);
    }
    public String getRemark(){
            return this.getStr(COL_REMARK);
    }
    public void setRemark(String remark){
        this.set(COL_REMARK,remark);
    }

}